/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.googlecode.datawander.Presenter;

import com.googlecode.datawander.View.ConnectionValues;

/**
 * Interface to Controler of Data Miration
 * @author Marcin Stachniuk
 */
public interface DataWanderPresenterInt {

    /**
     *
     * @param DataWanderViewInt Class implements interface DataWanderViewInt of GUI
     */
    public void setDataWanderView(DataWanderViewInt dataWanderView);

    /**
     * Try to make migration, from relational database to object database.
     * @param connectionValues
     */
    public void relational2ObjectMigration(ConnectionValues connectionValues) 
            throws ConnectionValuesException;

    public void object2RelationalMigration(ConnectionValues connectionValues)
            throws ConnectionValuesException;

    /**
     * Return is migration in progress
     * @return true if migration is in progress, otherwise false
     */
    public boolean isMigrationInProgress();

    public void endMigrationProcess();
}
